-
-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Python 3.8 to CI #11023
Add Python 3.8 to CI #11023
Conversation
# Conflicts: # .travis.yml # build-support/bin/generate_travis_yml.py
# Conflicts: # .travis.yml # build-support/bin/generate_travis_yml.py
# Conflicts: # .travis.yml # build-support/bin/generate_travis_yml.py
# Conflicts: # .travis.yml # build-support/bin/generate_travis_yml.py # Rust tests and lints will be skipped. Delete if not intended. [ci skip-rust] # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended. [ci skip-rust] # Building wheels and fs_util will be skipped. Delete if not intended. [ci skip-build-wheels]
object_docstring = object.__doc__ | ||
assert object_docstring is not None | ||
assert ( | ||
get_docstring(FallbackToObject, fallback_to_ancestors=True, ignored_ancestors=[]) | ||
== object.__doc__ | ||
get_docstring(FallbackToObject, fallback_to_ancestors=True, ignored_ancestors=[]) == object_docstring.rstrip() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On 3.8, there's an extra \n
in the docstring for object
. MyPy complained that __doc__
is Optional, so we need to make MyPy happy.
Green CI run of 3.8: https://travis-ci.com/github/pantsbuild/pants/builds/212945548. The only failure is from MyPy, which I fixed in the recent push and I'm assuming will be the same error regardless of 3.7 vs. 3.8. |
No description provided.